package cn.dubito.activemq.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author liliang
 * @date 2017/12/29.
 */
@Controller
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/haha")
    @ResponseBody
    public String test(){
        return "hello";
    }
}
